Recurrence relation using Backtracking method

welcome to shbcf.ru